home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / person / kws.zip / KWSINSTL.BAT < prev    next >
DOS Batch File  |  1992-01-07  |  1KB  |  57 lines

  1. echo off
  2. cls
  3. echo .************* KNITWARE Sweater Design **************
  4. echo .*************  Hard Disk Installation **************
  5. echo .
  6.  
  7. if %1()==() goto TELLUSE
  8. if %2()==() goto TELLUSE
  9.  
  10. IF EXIST %1:\KWS.EXE GOTO ASKCONFIRM
  11. echo .   Knitware files not found on drive %1:
  12. echo .   Check that you have the right disk, and 
  13. echo .     typed the install command correctly.
  14. echo .
  15. goto END
  16.  
  17. :ASKCONFIRM
  18. echo .   This batch file will install the KNITWARE files
  19. echo .     from drive %1: to drive %2:, creating a directory
  20. echo .     called \KNIT on drive %2:.
  21. echo .
  22. echo .   If you wish to exit without installing, 
  23. echo .     press [Ctrl][Break] now.
  24. echo .
  25. pause
  26.  
  27. md %2:\knit > NUL
  28. copy %1:\*.* %2:\knit\*.*
  29.  
  30. %2:
  31. cd \knit
  32. cls
  33. echo .    ** Installation completed successfully **
  34. echo .
  35. echo .    To try KNITWARE Sweater Design now, type
  36. echo .         kws       [Enter]
  37. echo .
  38. echo .    To use it any other time, remember to change
  39. echo .     to the knit directory first:
  40. echo .         %2:         [Enter]
  41. echo .         cd \knit   [Enter]
  42. echo .         kws        [Enter]
  43. echo .
  44. goto END
  45.  
  46. :TELLUSE
  47. echo .    To use the hard disk install procedure, type
  48. echo .     the command as follows:   
  49. echo .         install x y    <Enter>
  50. echo .
  51. echo .     where x is the floppy drive letter,
  52. echo .     and y is the destination drive letter.
  53. echo .
  54. :END
  55.  
  56.  
  57.